<?php
class Pageley_I18n_BasicPage {
    private $translations;
    
    public function __construct($translations) {
    	$this->translations = $translations;
    }
	
	public function translate($key) {
    	return $this->translations->get($key);
    }
}